<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>vphy: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">vphy
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__xvphy.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2d8b041a0730b041e28a4215d771cc04"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 *Id0, u8 *Id1)</td></tr>
<tr class="memdesc:ga2d8b041a0730b041e28a4215d771cc04"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the channel IDs to correspond with the supplied channel ID based on the protocol.  <a href="#ga2d8b041a0730b041e28a4215d771cc04">More...</a><br/></td></tr>
<tr class="separator:ga2d8b041a0730b041e28a4215d771cc04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaabf7218a74a0949f88a34b0c4a10b34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gaaabf7218a74a0949f88a34b0c4a10b34">Pll2SysClkData</a> (<a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllSelect)</td></tr>
<tr class="memdesc:gaaabf7218a74a0949f88a34b0c4a10b34"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will translate from XVphy_PllType to XVphy_SysClkDataSelType.  <a href="#gaaabf7218a74a0949f88a34b0c4a10b34">More...</a><br/></td></tr>
<tr class="separator:gaaabf7218a74a0949f88a34b0c4a10b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d8c6a493924deb1f7d367bc3da8f437"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga4d8c6a493924deb1f7d367bc3da8f437">Pll2SysClkOut</a> (<a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllSelect)</td></tr>
<tr class="memdesc:ga4d8c6a493924deb1f7d367bc3da8f437"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will translate from XVphy_PllType to XVphy_SysClkOutSelType.  <a href="#ga4d8c6a493924deb1f7d367bc3da8f437">More...</a><br/></td></tr>
<tr class="separator:ga4d8c6a493924deb1f7d367bc3da8f437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3bff8eaf5406aaf024690973700b8308"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u32 PllClkInFreqHz)</td></tr>
<tr class="memdesc:ga3bff8eaf5406aaf024690973700b8308"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency.  <a href="#ga3bff8eaf5406aaf024690973700b8308">More...</a><br/></td></tr>
<tr class="separator:ga3bff8eaf5406aaf024690973700b8308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5041cead7e1fe927d645c4e681e95837"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId)</td></tr>
<tr class="memdesc:ga5041cead7e1fe927d645c4e681e95837"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes the current software configuration for the reference clock selections to hardware for the specified quad on all channels.  <a href="#ga5041cead7e1fe927d645c4e681e95837">More...</a><br/></td></tr>
<tr class="separator:ga5041cead7e1fe927d645c4e681e95837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76c375e68d3d82cba1c7d8a53c961eb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, <a class="el" href="group__vphy.html#gabaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkSel)</td></tr>
<tr class="memdesc:ga76c375e68d3d82cba1c7d8a53c961eb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the PLL reference clock selection for the specified channel(s).  <a href="#ga76c375e68d3d82cba1c7d8a53c961eb7">More...</a><br/></td></tr>
<tr class="separator:ga76c375e68d3d82cba1c7d8a53c961eb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e41b30a437f2c8d8722c780b9cbc798"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> SysClkDataSel)</td></tr>
<tr class="memdesc:ga3e41b30a437f2c8d8722c780b9cbc798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the SYSCLKDATA reference clock selection for the direction.  <a href="#ga3e41b30a437f2c8d8722c780b9cbc798">More...</a><br/></td></tr>
<tr class="separator:ga3e41b30a437f2c8d8722c780b9cbc798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3221e83cfbd76a7616329bdff01d517b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> SysClkOutSel)</td></tr>
<tr class="memdesc:ga3221e83cfbd76a7616329bdff01d517b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the SYSCLKOUT reference clock selection for the direction.  <a href="#ga3221e83cfbd76a7616329bdff01d517b">More...</a><br/></td></tr>
<tr class="separator:ga3221e83cfbd76a7616329bdff01d517b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga918c7447d08e6af827ab03493348b706"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u32 PllClkInFreqHz)</td></tr>
<tr class="memdesc:ga918c7447d08e6af827ab03493348b706"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency.  <a href="#ga918c7447d08e6af827ab03493348b706">More...</a><br/></td></tr>
<tr class="separator:ga918c7447d08e6af827ab03493348b706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb53c60099495db88a9931980e278bc6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gacb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:gacb53c60099495db88a9931980e278bc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current output divider configuration over DRP.  <a href="#gacb53c60099495db88a9931980e278bc6">More...</a><br/></td></tr>
<tr class="separator:gacb53c60099495db88a9931980e278bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga609475eec7171bd779b972e31496c717"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga609475eec7171bd779b972e31496c717">XVphy_DirReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:ga609475eec7171bd779b972e31496c717"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current RX/TX configuration over DRP.  <a href="#ga609475eec7171bd779b972e31496c717">More...</a><br/></td></tr>
<tr class="separator:ga609475eec7171bd779b972e31496c717"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2450ff392b3bdafa0b65b549af231a1"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:gae2450ff392b3bdafa0b65b549af231a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current clocking settings for each channel to hardware based on the configuration stored in the driver's instance.  <a href="#gae2450ff392b3bdafa0b65b549af231a1">More...</a><br/></td></tr>
<tr class="separator:gae2450ff392b3bdafa0b65b549af231a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga742f461cf5a891acfd63d38ad99c068a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga742f461cf5a891acfd63d38ad99c068a">XVphy_GetRcfgChId</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllType)</td></tr>
<tr class="memdesc:ga742f461cf5a891acfd63d38ad99c068a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the reconfiguration channel ID for given PLL type.  <a href="#ga742f461cf5a891acfd63d38ad99c068a">More...</a><br/></td></tr>
<tr class="separator:ga742f461cf5a891acfd63d38ad99c068a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e276d9949bad733adaf9cacb6e2d554"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga6e276d9949bad733adaf9cacb6e2d554">XVphy_GetQuadRefClkFreq</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#gabaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkType)</td></tr>
<tr class="memdesc:ga6e276d9949bad733adaf9cacb6e2d554"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current reference clock frequency for the quad based on the reference clock type.  <a href="#ga6e276d9949bad733adaf9cacb6e2d554">More...</a><br/></td></tr>
<tr class="separator:ga6e276d9949bad733adaf9cacb6e2d554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:ga8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current [RT]XSYSCLKSEL[0] configuration.  <a href="#ga8e1cf75cf2ecce4902aeb0faca3d0c7c">More...</a><br/></td></tr>
<tr class="separator:ga8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa18f0da25042d12e577a5e16d950476"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gafa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:gafa18f0da25042d12e577a5e16d950476"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current [RT]XSYSCLKSEL[1] configuration.  <a href="#gafa18f0da25042d12e577a5e16d950476">More...</a><br/></td></tr>
<tr class="separator:gafa18f0da25042d12e577a5e16d950476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef25e82d5f217655c1c3c3039c9e1dc3"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gaef25e82d5f217655c1c3c3039c9e1dc3">XVphy_IsPllLocked</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:gaef25e82d5f217655c1c3c3039c9e1dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will check the status of a PLL lock on the specified channel.  <a href="#gaef25e82d5f217655c1c3c3039c9e1dc3">More...</a><br/></td></tr>
<tr class="separator:gaef25e82d5f217655c1c3c3039c9e1dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae11d25f939879208256c3e8155f9873c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gae11d25f939879208256c3e8155f9873c">XVphy_GtUserRdyEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:gae11d25f939879208256c3e8155f9873c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset and enable the Video PHY's user core logic.  <a href="#gae11d25f939879208256c3e8155f9873c">More...</a><br/></td></tr>
<tr class="separator:gae11d25f939879208256c3e8155f9873c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77f665ad87bd1230ad6b9827a16e8f33"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga77f665ad87bd1230ad6b9827a16e8f33">XVphy_MmcmWriteParameters</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:ga77f665ad87bd1230ad6b9827a16e8f33"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will write the mixed-mode clock manager (MMCM) values currently stored in the driver's instance structure to hardware .  <a href="#ga77f665ad87bd1230ad6b9827a16e8f33">More...</a><br/></td></tr>
<tr class="separator:ga77f665ad87bd1230ad6b9827a16e8f33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc182ff22a7ec230dc163f90ec5263a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gadc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:gadc182ff22a7ec230dc163f90ec5263a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the mixed-mode clock manager (MMCM) core.  <a href="#gadc182ff22a7ec230dc163f90ec5263a3">More...</a><br/></td></tr>
<tr class="separator:gadc182ff22a7ec230dc163f90ec5263a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga096dbcd95256264a53fe8af27c8387fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga096dbcd95256264a53fe8af27c8387fb">XVphy_MmcmLockedMaskEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
<tr class="memdesc:ga096dbcd95256264a53fe8af27c8387fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the mixed-mode clock manager (MMCM) core.  <a href="#ga096dbcd95256264a53fe8af27c8387fb">More...</a><br/></td></tr>
<tr class="separator:ga096dbcd95256264a53fe8af27c8387fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7160e541232b5a66b08df49d415acb1"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gac7160e541232b5a66b08df49d415acb1">XVphy_MmcmLocked</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:gac7160e541232b5a66b08df49d415acb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will get the lock status of the mixed-mode clock manager (MMCM) core.  <a href="#gac7160e541232b5a66b08df49d415acb1">More...</a><br/></td></tr>
<tr class="separator:gac7160e541232b5a66b08df49d415acb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15c1341136ca5bde85ab447ba9e09c56"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga15c1341136ca5bde85ab447ba9e09c56">XVphy_SetBufgGtDiv</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Div)</td></tr>
<tr class="memdesc:ga15c1341136ca5bde85ab447ba9e09c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function obtains the divider value of the BUFG_GT peripheral.  <a href="#ga15c1341136ca5bde85ab447ba9e09c56">More...</a><br/></td></tr>
<tr class="separator:ga15c1341136ca5bde85ab447ba9e09c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b82d1b302268e36126450121d948505"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Hold)</td></tr>
<tr class="memdesc:ga1b82d1b302268e36126450121d948505"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will power down the specified GT PLL.  <a href="#ga1b82d1b302268e36126450121d948505">More...</a><br/></td></tr>
<tr class="separator:ga1b82d1b302268e36126450121d948505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56237326dcb3ef7cb3b346f7bf561486"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga56237326dcb3ef7cb3b346f7bf561486">XVphy_SetIntrHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> HandlerType, <a class="el" href="group__vphy.html#ga134b30b136a3f2cb34622b8b7a596d12">XVphy_IntrHandler</a> CallbackFunc, void *CallbackRef)</td></tr>
<tr class="memdesc:ga56237326dcb3ef7cb3b346f7bf561486"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs a callback function for the specified handler type.  <a href="#ga56237326dcb3ef7cb3b346f7bf561486">More...</a><br/></td></tr>
<tr class="separator:ga56237326dcb3ef7cb3b346f7bf561486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0c6c186dbb5142d23a6a3b76148c37b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gab0c6c186dbb5142d23a6a3b76148c37b">XVphy_IntrEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
<tr class="memdesc:gab0c6c186dbb5142d23a6a3b76148c37b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables interrupts associated with the specified interrupt type.  <a href="#gab0c6c186dbb5142d23a6a3b76148c37b">More...</a><br/></td></tr>
<tr class="separator:gab0c6c186dbb5142d23a6a3b76148c37b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga854725cac309c3302a25dbc29927c9f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga854725cac309c3302a25dbc29927c9f8">XVphy_IntrDisable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
<tr class="memdesc:ga854725cac309c3302a25dbc29927c9f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disabled interrupts associated with the specified interrupt type.  <a href="#ga854725cac309c3302a25dbc29927c9f8">More...</a><br/></td></tr>
<tr class="separator:ga854725cac309c3302a25dbc29927c9f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6955153625236c5779240d2aab90678e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga6955153625236c5779240d2aab90678e">XVphy_CfgErrIntr</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="group__vphy.html#ga0c4928c07c1953d959717f3b336ceca4">XVphy_ErrType</a> ErrIrq, u8 Set)</td></tr>
<tr class="memdesc:ga6955153625236c5779240d2aab90678e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the error IRQ register based on the condition to generate an ERR_IRQ event.  <a href="#ga6955153625236c5779240d2aab90678e">More...</a><br/></td></tr>
<tr class="separator:ga6955153625236c5779240d2aab90678e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee5af44d484a3efa16330f845a7dc65e"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gaee5af44d484a3efa16330f845a7dc65e">XVphy_GetPllVcoFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:gaee5af44d484a3efa16330f845a7dc65e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the PLL VCO operating frequency.  <a href="#gaee5af44d484a3efa16330f845a7dc65e">More...</a><br/></td></tr>
<tr class="separator:gaee5af44d484a3efa16330f845a7dc65e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7d51be62c760e14b013be39f4a02b23"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#gad7d51be62c760e14b013be39f4a02b23">XVphy_GetRefClkSourcesCount</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:gad7d51be62c760e14b013be39f4a02b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the number of active reference clock sources based in the CFG.  <a href="#gad7d51be62c760e14b013be39f4a02b23">More...</a><br/></td></tr>
<tr class="separator:gad7d51be62c760e14b013be39f4a02b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0744715315ed3b60b87cd4bb9c6f445e"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:ga0744715315ed3b60b87cd4bb9c6f445e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function checks if Instance is HDMI 2.0 or HDMI 2.1.  <a href="#ga0744715315ed3b60b87cd4bb9c6f445e">More...</a><br/></td></tr>
<tr class="separator:ga0744715315ed3b60b87cd4bb9c6f445e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73b006ef6011c416c0e582d546b192a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xvphy.html#ga73b006ef6011c416c0e582d546b192a5">XVphy_ErrorHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga73b006ef6011c416c0e582d546b192a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the error condition handler.  <a href="#ga73b006ef6011c416c0e582d546b192a5">More...</a><br/></td></tr>
<tr class="separator:ga73b006ef6011c416c0e582d546b192a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaaabf7218a74a0949f88a34b0c4a10b34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> Pll2SysClkData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllSelect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will translate from XVphy_PllType to XVphy_SysClkDataSelType. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The reference clock type based on the PLL selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4d8c6a493924deb1f7d367bc3da8f437"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> Pll2SysClkOut </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllSelect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will translate from XVphy_PllType to XVphy_SysClkOutSelType. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The reference clock type based on the PLL selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6955153625236c5779240d2aab90678e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgErrIntr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga0c4928c07c1953d959717f3b336ceca4">XVphy_ErrType</a>&#160;</td>
          <td class="paramname"><em>ErrIrq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the error IRQ register based on the condition to generate an ERR_IRQ event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. ErrIrq is the IRQ type as define in XVphy_ErrType Set is the flag to set or clear the ErrIrq param</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__xvphy.html#gae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga76c375e68d3d82cba1c7d8a53c961eb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgPllRefClkSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#gabaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>RefClkSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the PLL reference clock selection for the specified channel(s). </p>
<p>This is applied to both direction to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e41b30a437f2c8d8722c780b9cbc798"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgSysClkDataSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td>
          <td class="paramname"><em>SysClkDataSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the SYSCLKDATA reference clock selection for the direction. </p>
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3221e83cfbd76a7616329bdff01d517b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgSysClkOutSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td>
          <td class="paramname"><em>SysClkOutSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the SYSCLKOUT reference clock selection for the direction. </p>
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">SysClkOutSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2d8b041a0730b041e28a4215d771cc04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_Ch2Ids </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Id0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Id1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the channel IDs to correspond with the supplied channel ID based on the protocol. </p>
<p>HDMI uses 3 channels; DP uses 4. This ID translation is done to allow other functions to operate iteratively over multiple channels.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID used to determine the indices. </td></tr>
    <tr><td class="paramname">Id0</td><td>is a pointer to the start channel ID to set. </td></tr>
    <tr><td class="paramname">Id1</td><td>is a pointer to the end channel ID to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The contents of Id0 and Id1 will be set according to ChId. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af7fdb76ac0ffc18275711ae874d309a1">XVphy_Config::RxChannels</a>, <a class="el" href="struct_x_vphy___config.html#a2b34afde69ce6733341003cde6aee506">XVphy_Config::TxChannels</a>, <a class="el" href="struct_x_vphy___config.html#a99ff7516bbf21301a9d10ca0faf725a2">XVphy_Config::UseGtAsTxTmdsClk</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI()</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#gad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate()</a>, <a class="el" href="group__xvphy.html#ga76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel()</a>, <a class="el" href="group__xvphy.html#ga3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel()</a>, <a class="el" href="group__xvphy.html#ga3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel()</a>, <a class="el" href="group__xvphy.html#ga918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, <a class="el" href="group__xvphy.html#gae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>, <a class="el" href="group__xvphy.html#ga609475eec7171bd779b972e31496c717">XVphy_DirReconfig()</a>, <a class="el" href="group__xvphy.html#gacb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig()</a>, <a class="el" href="group__xvphy.html#ga3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator()</a>, <a class="el" href="group__xvphy.html#ga1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll()</a>, and <a class="el" href="group__vphy.html#ga0b84e89a63bfed4a253be21d5c1d45d7">XVphy_SetPrbsSel()</a>.</p>

</div>
</div>
<a class="anchor" id="ga918c7447d08e6af827ab03493348b706"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ClkCalcParams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PllClkInFreqHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency. </p>
<p>This will be done for all channels specified by ChId. This function is a wrapper for XVphy_PllCalculator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllClkInFreqHz</td><td>is the PLL input frequency on which to base the calculations on. A value of 0 indicates to use the currently configured quad PLL reference clock. A non-zero value indicates to ignore what is currently configured in SW, and use a custom frequency instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if valid PLL values were found to satisfy the constraints.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If successful, the channel's PllParams structure will be modified with the valid PLL parameters. </dd></dl>

<p>References <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, and <a class="el" href="group__xvphy.html#ga3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator()</a>.</p>

</div>
</div>
<a class="anchor" id="gae2450ff392b3bdafa0b65b549af231a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ClkReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current clocking settings for each channel to hardware based on the configuration stored in the driver's instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#af531211ea7310c5ca915087e3e149ba7">XVphy::HdmiIsQpllPresent</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="group__xvphy.html#ga6955153625236c5779240d2aab90678e">XVphy_CfgErrIntr()</a>, <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__vphy.html#gga0c4928c07c1953d959717f3b336ceca4a072511027ffc971304ceaf36b905f3c9">XVPHY_ERR_NO_QPLL</a>, <a class="el" href="group__xvphy.html#ga73b006ef6011c416c0e582d546b192a5">XVphy_ErrorHandler()</a>, <a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI()</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468">XVPHY_LOG_EVT_CPLL_RECONFIG</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862a4b20089e51eaca42947a432468aa6a56">XVPHY_LOG_EVT_NO_QPLL_ERR</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862acd2a55ba7c91782029e40356154b66a2">XVPHY_LOG_EVT_PLL0_RECONFIG</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862ab201b87e897162791ec58380d04a984b">XVPHY_LOG_EVT_PLL1_RECONFIG</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c">XVPHY_LOG_EVT_QPLL_RECONFIG</a>, and <a class="el" href="group__vphy.html#ga9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="ga609475eec7171bd779b972e31496c717"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_DirReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current RX/TX configuration over DRP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a7e92f3f0a07f8d22c381b32259a58846">XVphy_Config::RxProtocol</a>, <a class="el" href="struct_x_vphy___config.html#adbe118ccdd7e2f16d6ff2f0eb84e73fc">XVphy_Config::TxProtocol</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862ad5bf29ae3737a33ccdbe8fc80f6a9be0">XVPHY_LOG_EVT_GT_RX_RECONFIG</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862a564fa05841a99d8026e486f0ca8518c6">XVPHY_LOG_EVT_GT_TX_RECONFIG</a>, and <a class="el" href="group__vphy.html#ga9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="ga73b006ef6011c416c0e582d546b192a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_ErrorHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the error condition handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the VPHY instance. </td></tr>
    <tr><td class="paramname">ErrIrqType</td><td>is the error type</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a5ae275f2f42007a128bac1b3c1a7ae2b">XVphy::ErrorCallback</a>, and <a class="el" href="struct_x_vphy.html#a0b218971d2035f0bfde658179ed6dfc6">XVphy::ErrorRef</a>.</p>

<p>Referenced by <a class="el" href="group__xvphy.html#gae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>.</p>

</div>
</div>
<a class="anchor" id="gaee5af44d484a3efa16330f845a7dc65e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XVphy_GetPllVcoFreqHz </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the PLL VCO operating frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PLL VCO frequency in Hz</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#acc8c8add92ab924f374bab01a466f7ee">XVphy::HdmiRxDruIsEnabled</a>, <a class="el" href="struct_x_vphy.html#a77176131b002d4f0d72af27d855c0316">XVphy::HdmiRxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#a0155c11fa9df81437618a87b5a3a3058">XVphy::HdmiTxRefClkHz</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="group__xvphy.html#ga6e276d9949bad733adaf9cacb6e2d554">XVphy_GetQuadRefClkFreq()</a>, and <a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6e276d9949bad733adaf9cacb6e2d554"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_GetQuadRefClkFreq </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#gabaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>RefClkType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current reference clock frequency for the quad based on the reference clock type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">RefClkType</td><td>is the type to obtain the clock selection for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current reference clock frequency for the quad for the specified type selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>.</p>

<p>Referenced by <a class="el" href="group__xvphy.html#gaee5af44d484a3efa16330f845a7dc65e">XVphy_GetPllVcoFreqHz()</a>, and <a class="el" href="group__xvphy.html#ga3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator()</a>.</p>

</div>
</div>
<a class="anchor" id="ga742f461cf5a891acfd63d38ad99c068a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> XVphy_GetRcfgChId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#gabd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the reconfiguration channel ID for given PLL type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllType</td><td>is the PLL type being used by the channel.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Channel ID to be used for reconfiguration</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="gad7d51be62c760e14b013be39f4a02b23"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XVphy_GetRefClkSourcesCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns the number of active reference clock sources based in the CFG. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>No of active REFCLK sources</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#af548321a00c7220627ee6a34d930f103">XVphy_Config::DruIsPresent</a>, <a class="el" href="struct_x_vphy___config.html#ae27a9635e2070126c83f132e3c885dd9">XVphy_Config::DruRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a7e92f3f0a07f8d22c381b32259a58846">XVphy_Config::RxProtocol</a>, <a class="el" href="struct_x_vphy___config.html#ae9a8b806d7a523628ca8b375836b1d73">XVphy_Config::RxRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#adbe118ccdd7e2f16d6ff2f0eb84e73fc">XVphy_Config::TxProtocol</a>, and <a class="el" href="struct_x_vphy___config.html#a051aa77b41a00fb1fa60db838fb388e2">XVphy_Config::TxRefClkSel</a>.</p>

</div>
</div>
<a class="anchor" id="ga8e1cf75cf2ecce4902aeb0faca3d0c7c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__vphy.html#ga91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> XVphy_GetSysClkDataSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current [RT]XSYSCLKSEL[0] configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[0] selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#gacc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>, and <a class="el" href="group__vphy.html#ga7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>.</p>

</div>
</div>
<a class="anchor" id="gafa18f0da25042d12e577a5e16d950476"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__vphy.html#ga1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> XVphy_GetSysClkOutSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current [RT]XSYSCLKSEL[1] configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[1] selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#gacc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>, and <a class="el" href="group__vphy.html#ga7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded()</a>.</p>

</div>
</div>
<a class="anchor" id="gae11d25f939879208256c3e8155f9873c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_GtUserRdyEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset and enable the Video PHY's user core logic. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga854725cac309c3302a25dbc29927c9f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>Intr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disabled interrupts associated with the specified interrupt type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">Intr</td><td>is the interrupt type/mask to disable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gab0c6c186dbb5142d23a6a3b76148c37b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>Intr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables interrupts associated with the specified interrupt type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">Intr</td><td>is the interrupt type/mask to enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga0744715315ed3b60b87cd4bb9c6f445e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XVphy_IsHDMI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function checks if Instance is HDMI 2.0 or HDMI 2.1. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the VPHY instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if HDMI 2.0 or 2.1 else FALSE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___config.html#a7e92f3f0a07f8d22c381b32259a58846">XVphy_Config::RxProtocol</a>, and <a class="el" href="struct_x_vphy___config.html#adbe118ccdd7e2f16d6ff2f0eb84e73fc">XVphy_Config::TxProtocol</a>.</p>

<p>Referenced by <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__xvphy.html#gae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>, <a class="el" href="group__xvphy.html#gaee5af44d484a3efa16330f845a7dc65e">XVphy_GetPllVcoFreqHz()</a>, <a class="el" href="group__xvphy.html#gaef25e82d5f217655c1c3c3039c9e1dc3">XVphy_IsPllLocked()</a>, <a class="el" href="group__vphy.html#ga652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>, and <a class="el" href="group__xvphy.html#ga77f665ad87bd1230ad6b9827a16e8f33">XVphy_MmcmWriteParameters()</a>.</p>

</div>
</div>
<a class="anchor" id="gaef25e82d5f217655c1c3c3039c9e1dc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_IsPllLocked </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will check the status of a PLL lock on the specified channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the specified PLL is locked.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#gacc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>, <a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI()</a>, and <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gac7160e541232b5a66b08df49d415acb1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XVphy_MmcmLocked </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will get the lock status of the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if Locked else FALSE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga096dbcd95256264a53fe8af27c8387fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmLockedMaskEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Enable</td><td>is an indicator whether to "Enable" the locked mask if set to 1. If set to 0: reset, then disable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
<a class="anchor" id="gadc182ff22a7ec230dc163f90ec5263a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
<a class="anchor" id="ga77f665ad87bd1230ad6b9827a16e8f33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_MmcmWriteParameters </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will write the mixed-mode clock manager (MMCM) values currently stored in the driver's instance structure to hardware . </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the MMCM write was successful.</li>
<li>XST_FAILURE otherwise, if the configuration success bit did not go low.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___quad.html#ad474fa8b5c22b6116f0899ffa594e67f">XVphy_Quad::Mmcm</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="group__vphy.html#ga971063cd7765cd7e7814bca5dff6e607">XVphy_DrpWr()</a>, and <a class="el" href="group__xvphy.html#ga0744715315ed3b60b87cd4bb9c6f445e">XVphy_IsHDMI()</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
<a class="anchor" id="gacb53c60099495db88a9931980e278bc6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_OutDivReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current output divider configuration over DRP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862ad5bf29ae3737a33ccdbe8fc80f6a9be0">XVPHY_LOG_EVT_GT_RX_RECONFIG</a>, <a class="el" href="group__vphy.html#gga850b903da34740657782f29d2f142862a564fa05841a99d8026e486f0ca8518c6">XVPHY_LOG_EVT_GT_TX_RECONFIG</a>, and <a class="el" href="group__vphy.html#ga9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3bff8eaf5406aaf024690973700b8308"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_PllCalculator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PllClkInFreqHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllClkInFreqHz</td><td>is the PLL input frequency on which to base the calculations on. A value of 0 indicates to use the currently configured quad PLL reference clock. A non-zero value indicates to ignore what is currently configured in SW, and use a custom frequency instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if valid PLL values were found to satisfy the constraints.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If successful, the channel's PllParams structure will be modified with the valid PLL parameters. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___channel.html#a3fd1bb0f1355b276eb5ebad802dc0d3c">XVphy_Channel::LineRateHz</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__vphy.html#ga83265bb40529b7550588a1ee0216fe1f">XVphy_GetLineRateHz()</a>, and <a class="el" href="group__xvphy.html#ga6e276d9949bad733adaf9cacb6e2d554">XVphy_GetQuadRefClkFreq()</a>.</p>

<p>Referenced by <a class="el" href="group__xvphy.html#ga918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1b82d1b302268e36126450121d948505"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_PowerDownGtPll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will power down the specified GT PLL. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to power down the PLL for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the power down if set to 1. If set to 0: power down, then power back up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__xvphy.html#ga2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga15c1341136ca5bde85ab447ba9e09c56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetBufgGtDiv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Div</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function obtains the divider value of the BUFG_GT peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX </td></tr>
    <tr><td class="paramname">Div</td><td>3-bit divider value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="group__vphy.html#ga4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga56237326dcb3ef7cb3b346f7bf561486"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetIntrHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__vphy.html#ga134b30b136a3f2cb34622b8b7a596d12">XVphy_IntrHandler</a>&#160;</td>
          <td class="paramname"><em>CallbackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function installs a callback function for the specified handler type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XVPhy instance. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>is the interrupt handler type which specifies which interrupt event to attach the callback for. </td></tr>
    <tr><td class="paramname">CallbackFunc</td><td>is the address to the callback function. </td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is the user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy.html#a78f1447de2a15b155b4c37a4c48d18ef">XVphy::IntrCpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#aac25792acca694d5198b44057d468659">XVphy::IntrCpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#ae35b9b8e21753a733fc6a64de937fab9">XVphy::IntrQpll1LockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a43d707dcd37c99e8f4a13779809edee5">XVphy::IntrQpll1LockHandler</a>, <a class="el" href="struct_x_vphy.html#a5d0d31870d751cc585d9a90c164f2d05">XVphy::IntrQpllLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a2a358f3a7cf0bbd672855ffb800e88a4">XVphy::IntrQpllLockHandler</a>, <a class="el" href="struct_x_vphy.html#a91765301698027208a5e14a289a19bd8">XVphy::IntrRxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a69217170e845bb0d704c8759f8688ab5">XVphy::IntrRxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#a2101dc107cfbd5355a3036d6f66e9941">XVphy::IntrRxMmcmLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a912c03c778f2b9378afc1bb4e29f51e6">XVphy::IntrRxMmcmLockHandler</a>, <a class="el" href="struct_x_vphy.html#abda4548141cf7abc027a15218e115353">XVphy::IntrRxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a1d808488e0bf84f52d6eb206d54d829b">XVphy::IntrRxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a4f3c598dab04ba6e7d6755455c3b7903">XVphy::IntrRxTmrTimeoutCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a61a97adc3d836e2f20afb8e64f249b11">XVphy::IntrRxTmrTimeoutHandler</a>, <a class="el" href="struct_x_vphy.html#a7998e37ae7d71fdb5d398550a6211305">XVphy::IntrTxAlignDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a0592d2a7a5360d294727c54491fa059d">XVphy::IntrTxAlignDoneHandler</a>, <a class="el" href="struct_x_vphy.html#aeef6168da79e23e5fca31e71cb9ae879">XVphy::IntrTxClkDetFreqChangeCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a44b541b34c508c723906b26f8fbb4719">XVphy::IntrTxClkDetFreqChangeHandler</a>, <a class="el" href="struct_x_vphy.html#a32a951eab2545cb24fa6cb392574291e">XVphy::IntrTxMmcmLockCallbackRef</a>, <a class="el" href="struct_x_vphy.html#ae6312372d74d8da089b0f55e69b6bbdb">XVphy::IntrTxMmcmLockHandler</a>, <a class="el" href="struct_x_vphy.html#ab6884b1d31e8d33370b88e74c8c0674d">XVphy::IntrTxResetDoneCallbackRef</a>, <a class="el" href="struct_x_vphy.html#a21cbba76df25e8dfe4111d1222e14872">XVphy::IntrTxResetDoneHandler</a>, <a class="el" href="struct_x_vphy.html#a3018ebe77f98e3feb4535bf837571564">XVphy::IntrTxTmrTimeoutCallbackRef</a>, and <a class="el" href="struct_x_vphy.html#a2c2b7c102aa0e9b5fe81b31a77174dbf">XVphy::IntrTxTmrTimeoutHandler</a>.</p>

</div>
</div>
<a class="anchor" id="ga5041cead7e1fe927d645c4e681e95837"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_WriteCfgRefClkSelReg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function writes the current software configuration for the reference clock selections to hardware for the specified quad on all channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy___channel.html#ab7b9e1486c525cab92eff049db5b2736">XVphy_Channel::CpllRefClkSel</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, <a class="el" href="struct_x_vphy___channel.html#ada3cc8b765b058c1ba28cc333f88929b">XVphy_Channel::RxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#aec2b2686abaaff0248e78b59dfb5e933">XVphy_Channel::RxOutRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#a53154b4333f2b5e8d59da3247d951725">XVphy_Channel::TxDataRefClkSel</a>, <a class="el" href="struct_x_vphy___channel.html#ab4b1b716be1ebf833f0c3719eb1fb91a">XVphy_Channel::TxOutRefClkSel</a>, <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>, and <a class="el" href="group__vphy.html#ga03d7c5c126a6c25d1ed193dfaa7f4a2c">XVphy_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__vphy.html#ga3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
